package com.project.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 月统计类
 */
@Data
@ApiModel(value = "月统计类")
public class MonthCountBean {
    /*
    （月份，类别，销售总额）
     */
    @ApiModelProperty(value = "月份")
    private String Month;
    @ApiModelProperty(value = "类别")
    private String type;
    @ApiModelProperty(value = "销售总额")
    private Integer totalPrice;

    public MonthCountBean() {
    }

    public MonthCountBean(String month, String type, Integer totalPrice) {
        Month = month;
        this.type = type;
        this.totalPrice = totalPrice;
    }

    public String getMonth() {
        return Month;
    }

    public void setMonth(String month) {
        Month = month;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Integer totalPrice) {
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "MonthCountBean{" +
                "Month='" + Month + '\'' +
                ", type='" + type + '\'' +
                ", totalPrice=" + totalPrice +
                '}';
    }
}
